<%-- 
    Document   : editparticipantlist
    Created on : 11/08/2011, 12:00:06 PM
    Author     : s4201567 Tony Yu
--%>
<style>
    #users { margin-left:100px; }
    #users td { text-align:center; }
    
    .error { color:red; }
</style>

<%@ include file="../header.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <div id="content-container1">
        <div id="content">  
            <h3>Edit Participant List</h3>
            <!-- Content goes here -->
            <form:form method="post" commandName="editparticipantlist">
              <table bgcolor="f8f8ff" border="0" cellspacing="0" cellpadding="5">
                <tr>
                  <td>Add New Participant:</td>
                    <td>
                        <form:input path="pollUserID" />
                    </td>
                    <td>
                        <form:errors path="pollUserID" cssClass="error"/>
                    </td>
                </tr>
                <tr>
                    <td>Demographic:</td>  
                    <td>${demo}</td>
                </tr>
              </table>
              <br>
              <input type="submit" align="center" value="Add Participant">
              <input type="reset" value="Reset" name="reset"><br/>
            </form:form>  
            <form>
                <input type="button" onClick="window.location.href='customDemo.html'" value="Create New Demographic"/><br/><br/>
                <input type="button" value="Back" onClick="javascript: history.go(-1)">
            </form>
        </div>
    </div>		
		
<%@ include file="../footer.jsp" %>

